home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / widthof < prev    next >
Text File  |  2001-04-06  |  380b  |  18 lines

  1. SYNOPSIS
  2.         int widthof (mapping map)
  3.  
  4. DESCRIPTION
  5.         Returns the number of values per key of mapping <map>.
  6.         If <map> is 0, the result is 0.
  7.  
  8. EXAMPLE
  9.         mapping m = ([ "foo": 1,2 ]);
  10.         widthof(m)  --> returns 2
  11.  
  12. HISTORY
  13.         Introduced in LDMud 3.2.6.
  14.  
  15. SEE ALSO
  16.         sizeof(E), mkmapping(E), m_reallocate(E), m_values(E),
  17.         unmkmapping(E)
  18.